package zl.ordermanager.service;

import zl.ordermanager.vo.DataGrid;
import zl.ordermanager.vo.PageHelper;
import zl.ordermanager.vo.PurchaseOrder;
import zl.ordermanager.vo.Total;

public interface PurchaseOrderService {

	public DataGrid<PurchaseOrder> dataGrid(PageHelper pageHelper, Total total);

	public PurchaseOrder get(Integer id);
	
	public PurchaseOrder getByOrderNo(String orderNo);
	
	public void add(PurchaseOrder purchaseOrder) throws Exception;
		
	public void edit(PurchaseOrder purchaseOrder) throws Exception;

	public void delete(Integer id);
}
